<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>input属性</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>
    <input type="text" name="language" list="list_id" />
    <datalist id="list_id">
        <option>python</option>
        <option>golang</option>
        <option>javascript</option>
        <option>netcore</option>
    </datalist>
</body>

</html>